#!/usr/bin/expect
set timeout 3000
set email "554565808@qq.com"
set pwd "Bln12345"

spawn git pull
expect "Username for 'https://git.oschina.net':"
send "$email\r"
expect "Password for 'https://$email@git.oschina.net':"
send "$pwd\r"
interact
